<template>
	<view>
		<view>
			<uni-nav-bar class="nav" color="white" left-icon="back" left-text="返回" title="交卷成功"
				backgroundColor="#3498DB" @clickLeft="backToTestList()">
			</uni-nav-bar>
		</view>
		<view class="content">

			<view class="icon iconfont icon-gou" style="font-size: 100rpx;"></view>
			<view class="text">
				{{text}}
			</view>
			<view class="link">
				<navigator url="../testList/testList">返回试卷列表>></navigator>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: "/pages/testList/testList",
				text: "你已交卷成功！等待教师批阅结束后可查看试卷详情！",
			}
		},
		methods: {
			backToTestList() {
				this.$router.push(this.url);
			}
		}
	}
</script>

<style>
	.content {
		margin-top: 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.text {
		margin-top: 15px;
		width: 420rpx;
		text-align: center;
	}

	.link {
		margin-top: 10px;
		color: #007AFF;
	}
</style>
